package com.mrjoew.weekend.entities.po;

import com.mrjoew.weekend.entities.BasePO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author Christopher Jones
 * @ClassName SecurityPO
 * @explain
 * @date 2020/6/21 0021 22:02
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Entity
@Table(name = "content_security")
public class ContentSecurityPO extends BasePO {

    /**
     * 秘密内容
     */
    private String content;

    /**
     * 是否公开
     */
    private int isPublic;

    /**
     * 不要回复我
     */
    private int dontReplayMe;

    /**
     * IP地址转数字
     */
    private long ipAddress;

    /**
     * 请求源的信息
     */
    private String requestSourceInfo;
}
